package cn.cai.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Parameter implements Serializable {
    @JSONField(ordinal = 0)
    private final String cmd = "yqsbFormSave";
    @JSONField(ordinal = 1)
    private String xh;
    @JSONField(ordinal = 2)
    private String nl;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JSONField(ordinal = 3,format = "yyyy-MM-dd")
    private LocalDateTime sbsj;  // 上报时间
    @JSONField(ordinal = 4)
    private String lxfs;
    @JSONField(ordinal = 5)
    private String jzdq;
    @JSONField(name = "jzdq_xxdz",ordinal = 6)
    private String jzdqXxdz;
    @JSONField(ordinal = 7)
    private String tw;
    @JSONField(ordinal = 8)
    private Integer sflx;
    @JSONField(ordinal = 9,defaultValue = "0")
    private String jcbr = "0";
    @JSONField(ordinal = 10,defaultValue = "1,")
    private String zyzz = "1,";
    @JSONField(ordinal = 11,defaultValue = "")
    private String fbrq = "";
    @JSONField(ordinal = 12,defaultValue = "")
    private String zyzzms = "";
    @JSONField(ordinal = 13,defaultValue = "")
    private String bz = "";
    @JSONField(ordinal = 14,defaultValue = "")
    private String bz1 = "";
    @JSONField(ordinal = 15,defaultValue = "")
    private String wcjtgj = "";
    @JSONField(ordinal = 16,defaultValue = "")
    private String wcjtgjxq = "";
    @JSONField(ordinal = 17,defaultValue = "")
    private String wcdq = "";
    @JSONField(name = "wcdq_xxdz",ordinal = 18,defaultValue = "")
    private String wcdqXxdz = "";
    @JSONField(ordinal = 19,defaultValue = "")
    private String lkdate = "";
    @JSONField(ordinal = 20,defaultValue = "")
    private String fhdate = "";
    @JSONField(ordinal = 21,defaultValue = "")
    private String zszt = "";
}
